/**
 * Route Mappings
 * (sails.config.routes)
 *
 * Your routes tell Sails what to do each time it receives a request.
 *
 * For more information on configuring custom routes, check out:
 * https://sailsjs.com/anatomy/config/routes-js
 */

module.exports.routes = {
  '/': "Index.index",
  '/index': "Index.index",
  '/password': "Password.password",
  '/password/apply': "Password.apply",
  '/password/generate': "Password.generate",
  '/login':'Login.gotoLogin',
  "/jsApiTicket":"Wechat.jsApiticket",

  "post /doLogin": "Common.doLogin",
  "post /doLoginOut":"Login.doLoginOut",

  //底部菜单配置
  '/myInfo': "My.myInfo",

  //企业
  '/editCompany': "company.editCompany",

  //统计
  "/statistics":"statistic.index"


};
